#
#  Be sure to run `pod spec lint XFBasicsKit.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |spec|

  # ―――  Spec Metadata  ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  #
  #  These will help people to find your library, and whilst it
  #  can feel like a chore to fill in it's definitely to your advantage. The
  #  summary should be tweet-length, and the description more in depth.
  #
  # 名称，pod search 搜索的关键词，必须和pod spec create $Name 中的名称一样，否则会报错
  spec.name         = "XFBasicsKit"
  # 版本号
  spec.version      = "0.0.1"
  # 支持的最低系统版本
  spec.platform     = :ios, "10.0"
  # 库简介
  spec.summary      = "This is test for create pods."
  
  spec.homepage     = "https://gitee.com/1125105110/xfbasics-kit"
  # spec.screenshots  = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
  
  # 许可证
  spec.license      = { :type => "MIT", :file => "LICENSE" }
  
  #spec.description  = <<-DESC
  #                 DESC

  spec.author             = { "李旭峰" => "lxf@asman.com.cn" }
  # 社交地址
  # spec.social_media_url   = "https://twitter.com/李旭峰"

  # 项目的地址（这个必须写正确）
  # 其他关联方式
  # 将这个Pod版本与Git仓库中某个commit绑定
  spec.source       = { :git => "https://gitee.com/1125105110/xfbasics-kit.git", :tag => "#{spec.version}" }

  # 不能直接匹配根目录下所有文件，直接匹配会把AppDelegate、Main.storyboard都引入，
  # 匹配单个文件
  # 引用多个用逗号隔开
  spec.source_files  = "Classes", "Classes/**/*.{h,m}"
  spec.exclude_files = "Classes/Exclude"


  # spec.framework  = "SomeFramework"
  spec.frameworks = "UIKit", "Foundation"
  # 如果是swfit编写，需要制定swfit语言版本
  spec.swift_version = '4.2'
  # 是否需要ARC自动管理内存
  spec.requires_arc = true

  # 依赖库，不能依赖未发布的库
  # 如果需要多个依赖库,不是用逗号分隔
  # s.dependency  = 'SnapKit'
  # s.dependency  = 'AFNetworking'
  # spec.dependency "JSONKit", "~> 1.4"
  
  
  # spec.library   = "iconv"
  # spec.libraries = "iconv", "xml2"
  # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }

end
